package com.ad.pet.app.login;

import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.common.structure.mvp.BaseView;
import com.ad.pet.models.remote.User;

/**
 * Created by dell - on 2018/1/18.
 */

public interface MobileInputContract {

    interface Presenter extends BasePresenter<View> {

        void checkPhone(String phone);
        void checkBindThird(String uid);
        void thirdLogin(String email,String code,String pwd,String thirdPart,String nickName ,String headUrl,String unqionId,String to_reference_code);

    }

    interface View extends BaseView {
        void checkPhoneSuccess(int isRegist);
        void checkBindThirdSuccess(User user);
        void checkBindUnBind();
        void thirdLoginSuccess(User user);
    }
}
